#include "Stack.h"

template <class t>
stack<t>::stack(){
	top = -1;
}

template <class t>
void stack<t>::push(t i){
	myS[++top] = i;
}

template <class t>
t stack<t>::pop()
{
	return myS[top];
	top--;
}

template <class t>
t stack<t>::getElement(int i){
	return myS[i];
}
